package com.shardingdemo.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.shardingdemo.dao.User1Mapper;
import com.shardingdemo.model.User1;
import com.shardingdemo.service.User1Service;
/**
 *@author chen_lei
 *@date 2020/7/21 22:06
 */ 
@Service
public class User1ServiceImpl extends ServiceImpl<User1Mapper, User1> implements User1Service{

    @Override
    public int updateBatch(List<User1> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int batchInsert(List<User1> list) {
        return baseMapper.batchInsert(list);
    }
}
